package org.dandelion.papercheck.service;

import org.dandelion.papercheck.dto.HistoryDetailDTO;
import org.dandelion.papercheck.entity.History;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;


@Service
public interface HistoryService {
    List<History> getHistory(Long userId, Integer size, Integer page);

    void createHistory(LocalDateTime dateTime, String username, String articleFileName,
                       Map<String, Double> articleSimilarMap);

    List<HistoryDetailDTO> getDetail(Long historyId);
}
